package net.cl.db;

public interface CachedResultSet {

	boolean next() throws DBException;

	boolean previous() throws DBException;

	boolean first() throws DBException;

	boolean last() throws DBException;

	void beforeFirst() throws DBException;

	void afterLast() throws DBException;

	boolean isLast() throws DBException;

	boolean isFirst() throws DBException;

	int getRow() throws DBException;

	int getRowCount() throws DBException;

	int getColumnCount() throws DBException;

	boolean absolute(int row) throws DBException;

	String getString(int columnIndex) throws DBException;

	String getString(String columnName) throws DBException;

	String getColumnName(int columnIndex) throws DBException;

	String getTableName(int columnIndex) throws DBException;

	int getColumnType(int columnIndex) throws DBException;

	String getColumnTypeName(int columnIndex) throws DBException;

}
